// Complete Installation Guide
Developer Plug (Shared Hosting / cPanel)

This guide will walk you through the full installation of the Platform on a shared hosting server with cPanel access.

// Prerequisites
- A shared hosting account with cPanel access
- PHP 8.2 or higher installed
- MySQL database support
- Minimum 1GB storage space
- A domain name properly pointed to your hosting server

// Step-by-Step Installation Instructions

Step 1: Download & Prepare the Files
- Obtain the platforms codebase as a .zip file (e.g., algo.zip)
- Keep it ready on your local computer

Step 2: Log into cPanel
- Go to: yourdomain.com/cpanel or yourhost.com:2083
- Login with your cPanel username and password

Step 3: Create a MySQL Database
1. Navigate to: MySQL Databases in cPanel
2. Create a Database: Example: algo
3. Create a Database User: Username: algo_user, use a strong password
4. Add User to Database: Select the user and database, Grant ALL PRIVILEGES

Note down the following for later:
- Database name: username_algo
- Database user: username_algo_user
- Database password
- Host: usually localhost


Step 4: Upload the Files
1. Go to File Manager in cPanel
2. Navigate to the public_html directory
3. Upload the files depending on your domain preference
- Option A: Upload algo.zip and extract in File Manager
- Option B: Use FTP like FileZilla

Step 5: Configure Environment File (.env)
1. Locate the .env file in your uploaded files
2. Right-click and select Edit
3. Update the following values:
APP_ENV=production
APP_DEBUG=false
APP_URL=https://yourdomain.com
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_password
DB_HOST=localhost

// Cron Job Setup
Set the following cron jobs via cPanel Cron Jobs:
1. Investment, Bots & Copytrading (Every 3 Minutes)
wget -q -O - https://yourdomain.com/cron > /dev/null 2>&1
2. Fetch Crypto Prices (Every 15 Minutes)
wget -q -O - https://yourdomain.com/run-market-update?key=8753 > /dev/null 2>&1
3. Fetch Stocks & Indices (Every 5 Hours)
wget -q -O - https://yourdomain.com/run-market-update?key=8753 > /dev/null 2>&1

Admin Access (Default)
- Login URL: yourdomain.com/adminlogin/login
- Username: admin@admin.com
- Password: 12345678


// Change your admin credentials immediately after first login!
Trading Settings
- Go to: Admin Panel App Settings
- Set Win Rate for All Users
Example:
- Win Rate = 60 Users win 6 out of 10 trades.
Increase the value to increase win chance.

Final Notes
Once complete, your platform is ready for:
- User registration
- Fund deposits
- Active trading
You're all set to launch!